/** 
 * File: InvalidArgumentException.java
 * Project: CMSC 345 JUnit Assignment, Fall 2010
 * Author: David Chong
 * Date: 12/1/10
 * E-mail: ro62899@umbc.edu
 * This is a checked exception that is thrown when the arguments in a parameter 
 * is not valid.
 * 
 * Class Invariant: None
 */

package ocrs.server.registeringSystem;
public class NotValidArgumentException extends Exception
{
	
	/** 
     * Name: NotValidArgumentException <br><br>
     * Creates and initializes the object with its parent constructor. 
     * <br><br>
     * Precondition: None <br>
     * Postcondition: It makes a creates a NotValidArgumentException object.
     * <br>
     * @param None
     */
    public NotValidArgumentException()
    {
    	super();
    } // end of constructor
    
    
    
    /** 
     * Name: NotValidArgumentException <br><br>
     * Creates an initializes the object with a String stating the error
     * message. 
     * <br><br>
     * Precondition: None <br>
     * Postcondition: Passes the String passed in as a argument to the 
     *                Exception constructor. <br>
     * @param errorMessage - the error message that will be displayed.
     */
    public NotValidArgumentException(String errorMessage)
    {
    	super(errorMessage);
    } // end of constructor
} // end of NotValidArgumentException class